<?php
require'conn.php';

if(!$_SESSION['user.account']){
    //print_r($_SESSION['user.account']);
    header('location:login.php');
}

session_start();
//$id=$_SESSION['user.id'];
$id=$_GET['id'];
$sql="delete from result where id=$id";
$r=mysqli_query($conn,$sql);
if($r){
    header("location:index.php");
}
